StaticMenuItemControl.getAllState

Styling properties that apply to all states - selected, unselected, hover. These properties can be overridden by setting properties to be applied when a menu item has an explicit state. These properties override any corresponding properties configured for the parent menu control.

returns MenuStateProperties